﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.DAO;
using Com.CMS263.PO;

namespace Com.CMS263.BLL
{
    public class VoteOptionBLL : BaseBLL<VoteOption>
    {
        VoteOptionDAO dao = new VoteOptionDAO();
        public VoteOption entity = new VoteOption();
        public override VoteOption GetModel()
        {
            return entity;
        }
        public int GetMaxId()
        {
            return dao.GetMaxId();
        }
        public IList<VoteOption> GetListByPager(int page, int pagesize, int listid)
        {
            return dao.GetListByPager(page, pagesize,listid);
        }
        public int GetListByPager(int listid)
        {
            return dao.GetListByPager(listid);
        }
        
    }
}
